package queries;

/**
 * Class for representing returned document
 * 
 * @author Vika
 * @author ak2765
 */
public class Document {

	private String url;
	
	private String title;
	
	private String description;
	
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	@Override
	public String toString() {
		StringBuilder buff = new StringBuilder();
		buff.append("Document@[title=[").append(this.title);
		buff.append("], description=[").append(this.description);
		buff.append("], url=[").append(this.url).append("]");
		return buff.toString();
	}
}
